﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace EFong.Contract
{
    [DataContract]
    public class TourItemType 
    {
        private Guid _id = Guid.NewGuid();
        [DataMember]
        public Guid ID
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _name = string.Empty;
        [DataMember]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private string _um = string.Empty;
        [DataMember]
        public string UM
        {
            get { return _um; }
            set { _um = value; }
        }

        private int _seq;
        [DataMember]
        public int Seq
        {
            get { return _seq; }
            set { _seq = value; }
        }

        public override string ToString()
        {
            return this.Name;
        }


        public TypeCode GetTypeCode()
        {
            throw new NotImplementedException();
        }

        
    }
}
